package net.synck.gcontacts.editor;

import org.eclipse.ui.forms.IManagedForm;

import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.ScrolledForm;

public class EditorMainPage extends FormPage {

	private ContactsBlock contactsBlock = null;

	public EditorMainPage(FormEditor editor, String id, String title) {
		super(editor, id, title);
		contactsBlock = new ContactsBlock(this);
	}

	@Override
	protected void createFormContent(IManagedForm managedForm) {
		final ScrolledForm form = managedForm.getForm();
		//FormToolkit toolkit = managedForm.getToolkit();
		form.setText("Contact"); //$NON-NLS-1$
		contactsBlock.createContent(managedForm);
	}
	
	

}
